package com.demo.mapper.demo;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.demo.beans.BasePojo;
import com.demo.beans.Bean;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface BeanMapper<F extends BasePojo> extends BaseMapper<Bean> {
    Bean getBeanById(String id);
    boolean batchSave(List<Bean> beans);
    List<Bean> qbByYearAndSchoolName(String beginYear, String endYear, String schoolName);
    public boolean sureSave();
}
